SBT console in lab

whether are we need to install or set the export home path for spark,java and Scala versions in the big data labs profiles (already configured in the profiles) else it is already default in the configurations settings.

I need to call the Scala source in the intellji idea through SBT console in the big data labs.I’m getting the below error .

scala> val t =new Time(10,45,15)
:7: error: not found: type Time
val t =new Time(10,45,15)
^
scala> val t =new Time(10,45,15)
:7: error: not found: type Time
val t =new Time(10,45,15)

This Time class already created in the SBT source in intellji idea.

Can someone tell me the way to configure the above tools(Spark,java,Scala) in the labs profiles